CVE-2023-22492
RefreshToken invalidation vulnerability
Description
ZITADEL is a combination of Auth0 and Keycloak. RefreshTokens is an OAuth 2.0 feature that allows applications to retrieve new access tokens and refresh the user's session without the need for interacting with a UI. RefreshTokens were not invalidated when a user was locked or deactivated. The deactivated or locked user was able to obtain a valid access token only through a refresh token grant. When the locked or deactivated user’s session was already terminated (“logged out”) then it was not possible to create a new session. Renewal of access token through a refresh token grant is limited to the configured amount of time (RefreshTokenExpiration). As a workaround, ensure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements. This issue has been patched in versions 2.17.3 and 2.16.4.
INFO
Published Date :
Jan. 11, 2023, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 7:44 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2023-22492 has a 2 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-22492.
                                        
| URL | Resource | 
|---|---|
| https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 | Patch Third Party Advisory | 
| https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 | Patch Third Party Advisory | 
| https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 | Patch Third Party Advisory | 
| https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 | Patch Third Party Advisory | 
| https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 | Patch Third Party Advisory | 
| https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 | Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-22492 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-22492
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
Proof of concept for EPSS API interaction.
Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-22492 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-22492 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 Added Reference https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 Added Reference https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Initial Analysis by [email protected]Jan. 24, 2023 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 No Types Assigned https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 Patch, Third Party Advisory Changed Reference Type https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 No Types Assigned https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 Patch, Third Party Advisory Changed Reference Type https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 No Types Assigned https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.16.4 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.17.0 up to (excluding) 2.17.3 
Vulnerability Scoring Details
Base CVSS Score: 5.9
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.02%
score
0.28244
percentile
 
                         
                         
                         
                                             
                                            